#ifndef _UTIL_H_
#define _UTIL_H_

#include <stdio.h>
#include <iostream>
#include <winsock2.h>
#include "message.h"
#include "list.h"

using namespace std;

int GetIPList(for_glory::list<for_glory::message>& iplist);

int gettimeofday(struct timeval* tv);
int isDigitString(char* s, int len);

#endif